﻿using EPiServer;
using EPiServer.Core;
using EPiServer.Tests.UnitTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TemplateFoundation.PageTypes;

namespace TemplateFoundation.Tests.UnitTests.TemplateFoundation.Core
{
    [TestClass]
    public class TestCorePageTypeTypes : EPiServerUnitTest
    {
        [TestMethod]
        public void TestStartPageTypeIsStartPageBase()
        {
            Assert.IsNotNull(DataFactory.Instance.GetPage(PageReference.StartPage) as StartPageBase,
                             "Start page could not be retrieved as of type StartPageBase");
        }
    }
}
